(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'BB1B0920307BF9D3144B274DF060A014';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});function s(){}
function N(){}
function M(){}
function L(){}
function K(){}
function tm(){}
function pb(){}
function Db(){}
function Pb(){}
function Tb(){}
function nc(){}
function tc(){}
function sc(){}
function zc(){}
function Vc(){}
function Uc(){}
function Tc(){}
function jd(){}
function id(){}
function Gd(){}
function Pd(){}
function Yd(){}
function _d(){}
function je(){}
function ne(){}
function xe(){}
function Bf(){}
function Xf(){}
function bg(){}
function Gg(){}
function Qg(){}
function Rg(){}
function Tg(){}
function Ug(){}
function Fg(){}
function Yg(){}
function Zg(){}
function Eg(){}
function Dg(){}
function Cg(){}
function hh(){}
function nh(){}
function qh(){}
function wh(){}
function vh(){}
function uh(){}
function Lh(){}
function Nh(){}
function Qh(){}
function $h(){}
function bi(){}
function di(){}
function ki(){}
function ui(){}
function Bi(){}
function Hi(){}
function Qi(){}
function Ui(){}
function Xi(){}
function aj(){}
function dj(){}
function ij(){}
function lj(){}
function Gj(){}
function Jj(){}
function Qj(){}
function Pj(){}
function mk(){}
function lk(){}
function yk(){}
function Gk(){}
function Fk(){}
function Pk(){}
function Wk(){}
function dl(){}
function ll(){}
function sl(){}
function xl(){}
function Ml(){}
function Ql(){}
function dm(){}
function lm(){}
function ph(a){Lg(a)}
function sh(a){Mg(a)}
function ag(){return Yf}
function Ud(){return Qd}
function uc(){uc=tm;oc()}
function vc(){vc=tm;uc()}
function Ac(){Ac=tm;vc()}
function zh(){zh=tm;yh()}
function Bh(){Bh=tm;zh()}
function ei(){ei=tm;Uh()}
function Ii(){Ii=tm;Ei()}
function ai(a){a.c&&Mg(a)}
function Mk(){return null}
function Lb(a){return a.h()}
function nd(){return this.d}
function Sd(a){Ve(a,6);Xh()}
function Sk(){return this.b}
function Il(){return this.c}
function hm(){return this.b}
function im(){return this.c}
function bd(){return dd(),cd}
function Ai(){return yi(this)}
function Si(a){hc();return a}
function Zi(a){hc();return a}
function eh(a,b){ah(a,b,a.g)}
function ni(a,b){pi(a,b,a.c)}
function R(a,b){hc();return a}
function fj(a){hc();return a}
function kj(a){hc();return a}
function nm(a){hc();return a}
function _f(a){ef(a);null.C()}
function Gi(a,b){a.tabIndex=b}
function Id(a){a.b={};return a}
function Ol(a){Yj(a);return a}
function xk(){return this.b.e}
function xj(){return Ej(this)}
function Nk(){return this.b.c}
function kl(){return il(this)}
function $l(){return this.b.e}
function cj(a,b){hc();return a}
function gj(a,b){hc();return a}
function Ij(a,b){hc();return a}
function Rb(a,b){a.b=b;return a}
function Vb(a,b){a.b=b;return a}
function xi(a,b){a.c=b;return a}
function rk(a,b){a.b=b;return a}
function Dk(){return hl(this.b)}
function rl(){return this.c.b.e}
function hl(a){return a.b<a.c.c}
function oc(){oc=tm;Ac();new zc}
function Cj(){Cj=tm;zj={};Bj={}}
function Fb(){Fb=tm;Eb=Hb(new Db)}
function Lk(a,b){a.b=b;return a}
function gl(a,b){a.c=b;return a}
function ul(a,b){a.b=b;return a}
function md(a){a.d=++kd;return a}
function gd(a){fd(this,Ve(a,4))}
function Wg(){mh(this,(kh(),ih))}
function Xg(){mh(this,(kh(),jh))}
function Zf(){Zf=tm;Yf=md(new jd)}
function vl(){return hl(this.b.b)}
function vk(a){return sk(this,a)}
function Ok(a){return fk(this.b,a)}
function pl(a){return Zj(this.b,a)}
function Yl(a){return Zj(this.b,a)}
function ti(){return xi(new ui,this)}
function Ue(a,b){return a&&Re[a][b]}
function nj(a,b,c,d,e){return a}
function Mj(a){throw Ij(new Gj,mo)}
function Kg(a,b){!!a.e&&he(a.e,b)}
function $k(a,b){(a<0||a>=b)&&bl(a,b)}
function Qf(a,b){return ee(Tf(),a,b)}
function ck(b,a){return lo+a in b.f}
function jl(){return this.b<this.c.c}
function ch(){return xi(new ui,this.b)}
function Te(a,b){return a&&!!Re[a][b]}
function zi(){return this.b<this.c.c-1}
function wk(){return Ak(new yk,this.b)}
function Ek(){return Ve(il(this.b),19)}
function Hl(a){return El(this,a,0)!=-1}
function Uk(a,b){return Rk(new Pk,b,a)}
function qe(a){a.b=Ol(new Ml);return a}
function Sl(a){a.b=Ol(new Ml);return a}
function Tk(){return this.c.f[lo+this.b]}
function Rk(a,b,c){a.c=c;a.b=b;return a}
function nl(a,b,c){a.b=b;a.c=c;return a}
function fm(a,b,c){a.b=b;a.c=c;return a}
function Vk(a){return gk(this.c,this.b,a)}
function Dl(a,b){$k(b,a.c);return a.b[b]}
function U(a,b){hc();a.b=b;gc(a);return a}
function Uf(){if(!Mf){Bg();Mf=true}}
function jg(){if(!fg){tg();wg();fg=true}}
function yh(){yh=tm;xh=(Ei(),Ei(),Di)}
function kh(){kh=tm;ih=new nh;jh=new qh}
function cl(){return gl(new dl,Ve(this,8))}
function x(){return this.$H||(this.$H=++ub)}
function w(a){return this===(a==null?null:a)}
function Ye(a,b){return a!=null&&Te(a.tI,b)}
function Oi(a,b){a.firstChild.tabIndex=b}
function fd(a){Ve(a.e,3);$wnd.alert(xn)}
function Ki(a){Ii();Li();Mi();Ni();return a}
function mi(a){a.b=Fe(gf,0,3,4,0);return a}
function Al(a){a.b=Fe(hf,0,0,0,0);return a}
function le(a,b,c,d){a.b=b;a.d=c;a.c=d;return a}
function Ib(a){var b;b=a.c;a.c=[];Nb(b,a.c)}
function km(a){var b;b=this.c;this.c=a;return b}
function Td(a){var b;if(Qd){b=new Pd;he(a,b)}}
function bl(a,b){throw gj(new dj,no+a+oo+b)}
function Bl(a,b){Ie(a.b,a.c++,b);return true}
function Tf(){!Nf&&(Nf=dg(new bg));return Nf}
function fi(a){ei();Vh(a,$doc.body);return a}
function ic(){try{null.a()}catch(a){return a}}
function Zk(a){Cl(this,this.w(),a);return true}
function Ze(a){return a!=null&&a.tM!=tm&&a.tI!=2}
function Kb(a){return a.b.length>0||a.f.length>0}
function Gl(a){return Ie(this.b,this.c++,a),true}
function Nj(a){var b;b=Lj(this.p(),a);return !!b}
function Tl(a,b){var c;c=dk(a.b,b,a);return c==null}
function fh(a,b){var c;c=bh(a,b);c&&gh(b.g);return c}
function Ah(a,b){zh();a.g=b;xh.t(a.g,0);return a}
function Pf(a){Uf();return Qf(Qd?Qd:(Qd=md(new jd)),a)}
function fe(a,b){!a.b&&(a.b=Al(new xl));Bl(a.b,b)}
function dc(a,b){a.length>=b&&a.splice(0,b);return a}
function Yj(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function Jb(a){var b;b=a.b;a.b=[];Nb(b,a.f);a.f=Mb(a.f)}
function Me(){Me=tm;Ke=[];Le=[];Ne(new xe,Ke,Le)}
function dd(){dd=tm;cd=pd(new id,wn,(dd(),new Tc))}
function Ei(){Ei=tm;Ci=Ki(new Hi);Di=Ci?(Ei(),new Bi):Ci}
function ef(a){if(a!=null){throw Zi(new Xi)}return a}
function Fj(){if(Aj==256){zj=Bj;Bj={};Aj=0}++Aj}
function Xh(){Uh();try{mh(Th,Rh)}finally{Yj(Th.b);Yj(Sh)}}
function Wh(a){Uh();try{Mg(a)}finally{hk(Th.b,a)!=null}}
function Uh(){Uh=tm;Rh=new $h;Sh=Ol(new Ml);Th=Sl(new Ql)}
function dg(a){a.e=qe(new ne);a.f=null;a.d=false;return a}
function ce(a,b){a.e=qe(new ne);a.f=b;a.d=false;return a}
function Vh(a,b){Uh();a.b=mi(new ki);a.g=b;Lg(a);return a}
function Sj(a){var b;b=rk(new lk,a);return nl(new ll,a,b)}
function Xl(a){var b;return b=dk(this.b,a,this),b==null}
function ql(){var a;return a=Ak(new yk,this.c.b),ul(new sl,a)}
function wl(){var a;a=Ve(il(this.b.b),19);return a.z()}
function Wb(){this.b.d&&Ob(this.b.e,1);return this.b.g}
function xb(a){return function(){return yb(a,this,arguments)}}
function Ni(){return function(){this.firstChild.focus()}}
function db(a){return a.tM==tm||a.tI==2?a.hC():a.$H||(a.$H=++ub)}
function hk(a,b){return !b?jk(a):ik(a,b,~~(b.$H||(b.$H=++ub)))}
function yc(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}
function fk(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function ah(a,b,c){Ng(b);ni(a.b,b);c.appendChild(b.g);Og(b,a)}
function Cl(a,b,c){(b<0||b>a.c)&&bl(b,a.c);a.b.splice(b,0,c);++a.c}
function De(a,b){var c,d;c=a;d=Ee(0,b);Ge(c.aC,c.tI,c.qI,d);return d}
function si(a,b){var c;c=oi(a,b);if(c==-1){throw nm(new lm)}ri(a,c)}
function il(a){if(a.b>=a.c.c){throw nm(new lm)}return Dl(a.c,a.b++)}
function yi(a){if(a.b>=a.c.c){throw nm(new lm)}return a.c.b[++a.b]}
function Pg(a,b){a.d==-1?xg(a.g,b|(a.g.__eventBits||0)):(a.d|=b)}
function xg(a,b){jg();ug(a,b);b&131072&&a.addEventListener(Un,rg,false)}
function Ge(a,b,c,d){Me();Pe(d,Ke,Le);d.aC=a;d.tI=b;d.qI=c;return d}
function Pe(a,b,c){Me();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Ne(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function Ve(a,b){if(a!=null&&!Ue(a.tI,b)){throw Zi(new Xi)}return a}
function rf(a){if(a!=null&&Te(a.tI,14)){return a}return U(new K,a)}
function We(a){if(a!=null&&(a.tM==tm||a.tI==2)){throw Zi(new Xi)}return a}
function wj(a){if(!(a!=null&&Te(a.tI,1))){return false}return String(this)==a}
function lg(a){return !(a!=null&&a.tM!=tm&&a.tI!=2)&&a!=null&&Te(a.tI,10)}
function jk(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function gk(e,a,b){var c,d=e.f;a=lo+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function oi(a,b){var c;for(c=0;c<a.c;++c){if(a.b[c]==b){return c}}return -1}
function El(a,b,c){for(;c<a.c;++c){if(sm(b,a.b[c])){return c}}return -1}
function Jg(a,b,c){Pg(a,hg(c.c));return ee(!a.e?(a.e=ce(new _d,a)):a.e,c,b)}
function ee(a,b,c){a.c>0?fe(a,le(new je,a,b,c)):re(a.e,b,c);return new Yd}
function Hb(a){Fb();a.e=Rb(new Pb,a);Vb(new Tb,a);a.b=[];a.f=[];a.c=[];return a}
function Zl(){var a;return a=Ak(new yk,Sj(this.b).c.b),ul(new sl,a)}
function Wf(){var a;if(Mf){a=(Zf(),new Xf);!!Nf&&he(Nf,a);return null}return null}
function Pl(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function kk(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function sm(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Zj(a,b){return b==null?a.d:b!=null&&Te(b.tI,1)?ck(a,Ve(b,1)):bk(a,b,~~db(b))}
function $j(a,b){return b==null?a.c:b!=null&&Te(b.tI,1)?a.f[lo+Ve(b,1)]:_j(a,b,~~db(b))}
function bb(a,b){return a.tM==tm||a.tI==2?a.eQ(b):(a==null?null:a)===(b==null?null:b)}
function pd(a,b,c){a.d=++kd;a.b=c;!Yc&&(Yc=Id(new Gd));Yc.b[b]=a;a.c=b;return a}
function Fe(a,b,c,d,e){var f;f=Ee(e,d);Me();Pe(f,Ke,Le);f.aC=a;f.tI=b;f.qI=c;return f}
function re(a,b,c){var d;d=Ve($j(a.b,b),8);if(!d){d=Al(new xl);dk(a.b,b,d)}Ie(d.b,d.c++,c)}
function Hf(a,b,c){var d;d=Ef;Ef=a;b==Ff&&hg((oc(),a).type)==8192&&(Ff=null);c.k(a);Ef=d}
function yb(a,b,c){var d;d=tb++==0;try{return a.apply(b,c)}finally{d&&Ib((Fb(),Eb));--tb}}
function Sb(){this.b.d=true;Jb(this.b);this.b.d=false;return this.b.g=Kb(this.b)}
function Li(){return function(a){this.parentNode.onblur&&this.parentNode.onblur(a)}}
function Mi(){return function(a){this.parentNode.onfocus&&this.parentNode.onfocus(a)}}
function Jk(){var a,b;a=0;b=0;this.z()!=null&&(a=db(this.z()));this.A()!=null&&(b=db(this.A()));return a^b}
function pk(){var a,b,c;a=0;for(b=this.p();b.r();){c=b.s();if(c!=null){a+=db(c);a=~~a}}return a}
function Ej(a){Cj();var b=lo+a;var c=Bj[b];if(c!=null){return c}c=zj[b];c==null&&(c=Dj(a));Fj();return Bj[b]=c}
function xc(b){var c=b.relatedTarget;try{var d=c.nodeName;return c}catch(a){return null}}
function lh(a,b){kh();R(a,fo,b.b.e==0?null:Ve(b.x(Fe(kf,47,14,0,0)),17)[0]);return a}
function dk(a,b,c){return b==null?fk(a,c):b!=null&&Te(b.tI,1)?gk(a,Ve(b,1),c):ek(a,b,c,~~db(b))}
function Lj(a,b){var c;while(a.r()){c=a.s();if(b==null?c==null:bb(b,c)){return a}}return null}
function Ee(a,b){var c=new Array(b);if(a>0){var d=[null,0,false,[0,0]][a];for(var e=0;e<b;++e){c[e]=d}}return c}
function Xj(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=Uk(e,c.substring(1));a.u(d)}}}
function Ob(b,c){Fb();$wnd.setTimeout(function(){var a=$entry(Lb)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function gh(a){a.style[bo]=pn;a.style[co]=pn;a.style[eo]=pn}
function mc(a){var b,c,d;d=a&&a.stack?a.stack.split(vn):[];for(b=0,c=d.length;b<c;++b){d[b]=cc(d[b])}return d}
function P(a){var b,c,d;c=Fe(jf,0,13,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw kj(new ij)}c[d]=a[d]}}
function Ng(a){if(!a.f){Uh();Zj(Th.b,a)&&Wh(a)}else if(a.f){fh(a.f,a)}else if(a.f){throw cj(new aj,_n)}}
function Mg(a){if(!a.c){throw cj(new aj,$n)}try{a.o()}finally{try{a.m()}finally{a.g.__listener=null;a.c=false}}}
function Lg(a){var b;if(a.c){throw cj(new aj,Zn)}a.c=true;a.g.__listener=a;b=a.d;a.d=-1;b>0&&Pg(a,b);a.l();a.n()}
function Ak(a,b){var c;a.c=b;c=Al(new xl);a.c.d&&Bl(c,Lk(new Fk,a.c));Xj(a.c,c);Wj(a.c,c);a.b=gl(new dl,c);return a}
function ie(a){var b,c;if(a.b){try{for(c=gl(new dl,a.b);c.b<c.c.c;){b=Ve(il(c),7);re(b.b.e,b.d,b.c)}}finally{a.b=null}}}
function ri(a,b){var c;if(b<0||b>=a.c){throw fj(new dj)}--a.c;for(c=b;c<a.c;++c){Ie(a.b,c,a.b[c+1])}Ie(a.b,a.c,null)}
function Dh(a,b){var c;Bh();Ah(a,(c=(oc(),$doc).createElement(go),c.type=ho,c));a.g[io]=jo;a.g.innerHTML=b||pn;return a}
function ad(a,b,c){var d,e,f;if(Yc){f=Ve(Yc.b[(oc(),a).type],5);if(f){d=f.b.b;e=f.b.c;f.b.b=a;f.b.c=c;Kg(b,f.b);f.b.b=d;f.b.c=e}}}
function al(){var a,b,c;b=1;a=gl(new dl,Ve(this,8));while(a.b<a.c.c){c=il(a);b=31*b+(c==null?0:db(c));b=~~b}return b}
function Uj(){var a,b,c;c=0;for(b=Ak(new yk,rk(new lk,Ve(this,20)).b);hl(b.b);){a=Ve(il(b.b),19);c+=a.hC();c=~~c}return c}
function sk(a,b){var c,d,e;if(b!=null&&Te(b.tI,19)){c=Ve(b,19);d=c.z();if(Zj(a.b,d)){e=$j(a.b,d);return Pl(c.A(),e)}}return false}
function Ik(a){var b;if(a!=null&&Te(a.tI,19)){b=Ve(a,19);if(sm(this.z(),b.z())&&sm(this.A(),b.A())){return true}}return false}
function Sg(a){var b;switch(hg((oc(),a).type)){case 16:case 32:b=xc(a);if(!!b&&yc(this.g,b)){return}}ad(a,this,this.g)}
function Og(a,b){var c;c=a.f;if(!b){try{!!c&&c.c&&Mg(a)}finally{a.f=null}}else{if(c){throw cj(new aj,ao)}a.f=b;b.c&&Lg(a)}}
function gwtOnLoad(b,c,d){$moduleName=c;$moduleBase=d;if(b)try{$entry(of)()}catch(a){b(c)}else{$entry(of)()}}
function cc(a){var b,c,d;d=pn;a=uj(a);b=a.indexOf(qn);if(b!=-1){c=a.indexOf(rn)==0?8:0;d=uj(a.substr(c,b-c))}return d.length>0?d:sn}
function Wj(g,a){var b=g.b;for(var c in b){if(c==parseInt(c)){var d=b[c];for(var e=0,f=d.length;e<f;++e){a.u(d[e])}}}}
function _j(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.z();if(h.y(a,g)){return f.A()}}}return null}
function bk(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.z();if(h.y(a,g)){return true}}}return false}
function Nb(b,c){var a,e,f,g;for(e=0,f=b.length;e<f;++e){g=b[e];try{g[1]?g[0].h()&&(c[c.length]=g,undefined):g[0].C()}catch(a){a=rf(a);if(!Ye(a,2))throw a}}}
function hc(){var a,b,c,d;c=dc(mc(ic()),2);d=Fe(jf,0,13,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=nj(new lj,tn,c[a],un,0)}P(d)}
function gc(a){var b,c,d,e;d=mc(Ze(a.b)?We(a.b):null);e=Fe(jf,0,13,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=nj(new lj,tn,d[b],un,0)}P(e)}
function Yh(a){Uh();var b;b=Ve($j(Sh,a),18);if(b){return b}Sh.e==0&&Pf(new bi);b=fi(new di);dk(Sh,a,b);Tl(Th,b);return b}
function bh(a,b){var c,d;if(b.f!=a){return false}try{Og(b,null)}finally{c=b.g;(d=(oc(),c).parentNode,(!d||d.nodeType!=1)&&(d=null),d).removeChild(c);si(a.b,b)}return true}
function uj(c){if(c.length==0||c[0]>ko&&c[c.length-1]>ko){return c}var a=c.replace(/^(\s*)/,pn);var b=a.replace(/\s*$/,pn);return b}
function ok(a){var b,c,d;if((a==null?null:a)===this){return true}if(!(a!=null&&Te(a.tI,21))){return false}c=Ve(a,21);if(c.w()!=this.w()){return false}for(b=c.p();b.r();){d=b.s();if(!this.v(d)){return false}}return true}
function Oj(a){var b,c,d,e;e=this.w();a.length<e&&(a=De(a,e));d=a;c=this.p();for(b=0;b<e;++b){Ie(d,b,c.s())}a.length>e&&Ie(a,e,null);return a}
function Dj(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function mh(b,c){var i;kh();var a,e,f,g,h;e=null;for(h=b.p();h.r();){g=Ve(h.s(),3);try{c.q(g)}catch(a){a=rf(a);if(Ye(a,14)){f=a;!e&&(e=Sl(new Ql));i=dk(e.b,f,e)}else throw a}}if(e){throw lh(new hh,e)}}
function ek(j,a,b,c){var d=j.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.z();if(j.y(a,h)){var i=g.A();g.B(b);return i}}}else{d=j.b[c]=[]}var g=fm(new dm,a,b);d.push(g);++j.e;return null}
function pi(a,b,c){var d,e;if(c<0||c>a.c){throw fj(new dj)}if(a.c==a.b.length){e=Fe(gf,0,3,a.b.length*2,0);for(d=0;d<a.b.length;++d){Ie(e,d,a.b[d])}a.b=e}++a.c;for(d=a.c-1;d>c;--d){Ie(a.b,d,a.b[d-1])}Ie(a.b,c,b)}
function Ie(a,b,c){if(c!=null){if(a.qI>0&&!Ue(c.tI,a.qI)){throw Si(new Qi)}if(a.qI<0&&(c.tM==tm||c.tI==2)){throw Si(new Qi)}}return a[b]=c}
function Mb(a){var b,c,d,e,f,g;b=false;d=a.length;f=(new Date).getTime();while((new Date).getTime()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].h()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){if(!a[c]){continue}e[e.length]=a[c]}return e}else{return a}}
function he(a,b){var c;if(b.d){b.d=false;b.e=null}c=b.e;b.e=a.f;try{++a.c;se(a.e,b,a.d)}finally{--a.c;a.c==0&&ie(a)}if(c==null){b.d=true;b.e=null}else{b.e=c}}
function _k(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&Te(a.tI,8))){return false}f=Ve(a,8);if(this.w()!=f.c){return false}d=gl(new dl,Ve(this,8));e=gl(new dl,f);while(d.b<d.c.c){b=il(d);c=il(e);if(!(b==null?c==null:bb(b,c))){return false}}return true}
function Kl(a){var b,c,d;a.length<this.c&&(a=(c=a,d=Ee(0,this.c),Ge(c.aC,c.tI,c.qI,d),d));for(b=0;b<this.c;++b){Ie(a,b,this.b[b])}a.length>this.c&&Ie(a,this.c,null);return a}
function Bg(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=$entry(Wf)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=$entry(function(a){try{Mf&&Td(Tf())}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function ik(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.z();if(h.y(a,g)){c.length==1?delete h.b[b]:c.splice(d,1);--h.e;return f.A()}}}return null}
function wg(){$wnd.addEventListener(On,$entry(function(a){var b=$wnd.__captureElem;if(b&&!a.relatedTarget){if(Xn==a.target.tagName.toLowerCase()){var c=$doc.createEvent(Yn);c.initMouseEvent(Qn,true,true,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(c)}}}),true);$wnd.addEventListener(Un,qg,true)}
function of(){var a,b;!!$stats&&$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:yn,evtGroup:zn,millis:(new Date).getTime(),type:An,className:Bn});a=Dh(new uh,Cn);b=new Nh;Jg(a,b,(dd(),dd(),cd));eh((Uh(),Yh(null)),a)}
function se(a,b,c){var d,e,f,g,h,i,j;g=b.j();d=(h=Ve($j(a.b,g),8),!h?0:h.c);if(c){for(f=d-1;f>=0;--f){e=(i=Ve($j(a.b,g),8),Ve(($k(f,i.c),i.b[f]),16));b.i(e)}}else{for(f=0;f<d;++f){e=(j=Ve($j(a.b,g),8),Ve(($k(f,j.c),j.b[f]),16));b.i(e)}}}
function hg(a){switch(a){case Dn:return 4096;case En:return 1024;case wn:return 1;case Fn:return 2;case Gn:return 2048;case Hn:return 128;case In:return 256;case Jn:return 512;case Kn:return 32768;case Ln:return 8192;case Mn:return 4;case Nn:return 64;case On:return 32;case Pn:return 16;case Qn:return 8;case Rn:return 16384;case Sn:return 65536;case Tn:return 131072;case Un:return 131072;case Vn:return 262144;case Wn:return 524288;}}
function Tj(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&Te(a.tI,20))){return false}e=Ve(a,20);if(Ve(this,20).e!=e.e){return false}for(c=Ak(new yk,rk(new lk,e).b);hl(c.b);){b=Ve(il(c.b),19);d=b.z();f=b.A();if(!(d==null?Ve(this,20).d:d!=null&&Te(d.tI,1)?ck(Ve(this,20),Ve(d,1)):bk(Ve(this,20),d,~~db(d)))){return false}if(!sm(f,d==null?Ve(this,20).c:d!=null&&Te(d.tI,1)?Ve(this,20).f[lo+Ve(d,1)]:_j(Ve(this,20),d,~~db(d)))){return false}}return true}
function tg(){qg=$entry(function(a){if(pg(a)){var b=og;if(b&&b.__listener){if(lg(b.__listener)){Hf(a,b,b.__listener);a.stopPropagation()}}}});pg=$entry(function(a){return true});rg=$entry(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&lg(b)&&Hf(a,c,b)});$wnd.addEventListener(wn,qg,true);$wnd.addEventListener(Fn,qg,true);$wnd.addEventListener(Mn,qg,true);$wnd.addEventListener(Qn,qg,true);$wnd.addEventListener(Nn,qg,true);$wnd.addEventListener(Pn,qg,true);$wnd.addEventListener(On,qg,true);$wnd.addEventListener(Tn,qg,true);$wnd.addEventListener(Hn,pg,true);$wnd.addEventListener(Jn,pg,true);$wnd.addEventListener(In,pg,true)}
function ug(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?rg:null);c&2&&(a.ondblclick=b&2?rg:null);c&4&&(a.onmousedown=b&4?rg:null);c&8&&(a.onmouseup=b&8?rg:null);c&16&&(a.onmouseover=b&16?rg:null);c&32&&(a.onmouseout=b&32?rg:null);c&64&&(a.onmousemove=b&64?rg:null);c&128&&(a.onkeydown=b&128?rg:null);c&256&&(a.onkeypress=b&256?rg:null);c&512&&(a.onkeyup=b&512?rg:null);c&1024&&(a.onchange=b&1024?rg:null);c&2048&&(a.onfocus=b&2048?rg:null);c&4096&&(a.onblur=b&4096?rg:null);c&8192&&(a.onlosecapture=b&8192?rg:null);c&16384&&(a.onscroll=b&16384?rg:null);c&32768&&(a.onload=b&32768?rg:null);c&65536&&(a.onerror=b&65536?rg:null);c&131072&&(a.onmousewheel=b&131072?rg:null);c&262144&&(a.oncontextmenu=b&262144?rg:null);c&524288&&(a.onpaste=b&524288?rg:null)}
var pn='',vn='\n',ko=' ',qn='(',oo=', Size: ',lo=':',mo='Add not supported on this collection',go='BUTTON',ao='Cannot set a new parent without first clearing the old parent',Un='DOMMouseScroll',xn='Hello World!',no='Index: ',Yn='MouseEvents',fo='One or more exceptions caught, see full set in AttachDetachException#getCauses',Zn="Should only call onAttach when the widget is detached from the browser's document",$n="Should only call onDetach when the widget is attached to the browser's document",Cn='SimpleGadget',_n="This widget's parent does not implement HasWidgets",tn='Unknown',un='Unknown source',sn='anonymous',Dn='blur',ho='button',En='change',io='className',wn='click',Bn='com.example.simplegadget.client.SimpleGadget',Vn='contextmenu',Fn='dblclick',Sn='error',Gn='focus',rn='function',jo='gwt-Button',Xn='html',Hn='keydown',In='keypress',Jn='keyup',bo='left',Kn='load',Ln='losecapture',zn='moduleStartup',Mn='mousedown',Nn='mousemove',On='mouseout',Pn='mouseover',Qn='mouseup',Tn='mousewheel',An='onModuleLoadStart',Wn='paste',eo='position',Rn='scroll',yn='startup',co='top';var _;_=s.prototype={};_.eQ=w;_.hC=x;_.tM=tm;_.tI=1;_=N.prototype=new s;_.tI=3;_=M.prototype=new N;_.tI=4;_=L.prototype=new M;_.tI=5;_=K.prototype=new L;_.tI=6;_.b=null;_=pb.prototype=new s;_.tI=0;var tb=0,ub=0;_=Db.prototype=new pb;_.tI=0;_.d=false;_.g=false;var Eb;_=Pb.prototype=new s;_.h=Sb;_.tI=0;_.b=null;_=Tb.prototype=new s;_.h=Wb;_.tI=0;_.b=null;_=nc.prototype=new s;_.tI=0;_=tc.prototype=new nc;_.tI=0;_=sc.prototype=new tc;_.tI=0;_=zc.prototype=new sc;_.tI=0;_=Vc.prototype=new s;_.tI=0;_.d=false;_.e=null;_=Uc.prototype=new Vc;_.j=bd;_.tI=0;_.b=null;_.c=null;var Yc=null;_=Tc.prototype=new Uc;_.i=gd;_.tI=0;var cd;_=jd.prototype=new s;_.hC=nd;_.tI=0;_.d=0;var kd=0;_=id.prototype=new jd;_.tI=7;_.b=null;_.c=null;_=Gd.prototype=new s;_.tI=0;_.b=null;_=Pd.prototype=new Vc;_.i=Sd;_.j=Ud;_.tI=0;var Qd=null;_=Yd.prototype=new s;_.tI=0;_=_d.prototype=new s;_.tI=0;_.b=null;_.c=0;_.d=false;_.e=null;_.f=null;_=je.prototype=new s;_.tI=8;_.b=null;_.c=null;_.d=null;_=ne.prototype=new s;_.tI=0;_=xe.prototype=new s;_.tI=0;_.aC=null;_.length=0;_.qI=0;var Ke,Le;var Re=[{},{},{1:1,12:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{5:1},{7:1},{16:1},{9:1},{11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{2:1,12:1,14:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{16:1},{4:1,16:1},{3:1,9:1,10:1,11:1,18:1},{6:1,16:1},{3:1,9:1,10:1,11:1,18:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,13:1},{2:1,12:1,14:1},{21:1},{21:1},{19:1},{19:1},{19:1},{21:1},{8:1,12:1},{12:1,20:1},{12:1,21:1},{19:1},{2:1,12:1,14:1},{15:1},{17:1}];_=Bf.prototype=new s;_.tI=9;var Ef=null,Ff=null;var Mf=false,Nf=null;_=Xf.prototype=new Vc;_.i=_f;_.j=ag;_.tI=0;var Yf;_=bg.prototype=new _d;_.tI=10;var fg=false;var og=null,pg=null,qg=null,rg=null;_=Gg.prototype=new s;_.tI=11;_.g=null;_=Fg.prototype=new Gg;_.l=Qg;_.m=Rg;_.k=Sg;_.n=Tg;_.o=Ug;_.tI=12;_.c=false;_.d=0;_.e=null;_.f=null;_=Eg.prototype=new Fg;_.l=Wg;_.m=Xg;_.n=Yg;_.o=Zg;_.tI=13;_=Dg.prototype=new Eg;_.p=ch;_.tI=14;_=Cg.prototype=new Dg;_.tI=15;_=hh.prototype=new L;_.tI=16;var ih,jh;_=nh.prototype=new s;_.q=ph;_.tI=0;_=qh.prototype=new s;_.q=sh;_.tI=0;_=wh.prototype=new Fg;_.tI=17;var xh;_=vh.prototype=new wh;_.tI=18;_=uh.prototype=new vh;_.tI=19;_=Lh.prototype=new Bf;_.tI=20;_=Nh.prototype=new Lh;_.tI=21;_=Qh.prototype=new Cg;_.tI=22;var Rh,Sh,Th;_=$h.prototype=new s;_.q=ai;_.tI=0;_=bi.prototype=new s;_.tI=23;_=di.prototype=new Qh;_.tI=24;_=ki.prototype=new s;_.p=ti;_.tI=0;_.b=null;_.c=0;_=ui.prototype=new s;_.r=zi;_.s=Ai;_.tI=0;_.b=-1;_.c=null;_=Bi.prototype=new s;_.t=Gi;_.tI=0;var Ci,Di;_=Hi.prototype=new Bi;_.t=Oi;_.tI=0;_=Qi.prototype=new L;_.tI=26;_=Ui.prototype=new s;_.tI=0;_=Xi.prototype=new L;_.tI=29;_=aj.prototype=new L;_.tI=30;_=dj.prototype=new L;_.tI=31;_=ij.prototype=new L;_.tI=32;_=lj.prototype=new s;_.tI=33;_=String.prototype;_.eQ=wj;_.hC=xj;_.tI=2;var zj,Aj=0,Bj;_=Gj.prototype=new L;_.tI=34;_=Jj.prototype=new s;_.u=Mj;_.v=Nj;_.x=Oj;_.tI=0;_=Qj.prototype=new s;_.eQ=Tj;_.hC=Uj;_.tI=0;_=Pj.prototype=new Qj;_.y=kk;_.tI=0;_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=mk.prototype=new Jj;_.eQ=ok;_.hC=pk;_.tI=35;_=lk.prototype=new mk;_.v=vk;_.p=wk;_.w=xk;_.tI=36;_.b=null;_=yk.prototype=new s;_.r=Dk;_.s=Ek;_.tI=0;_.b=null;_.c=null;_=Gk.prototype=new s;_.eQ=Ik;_.hC=Jk;_.tI=37;_=Fk.prototype=new Gk;_.z=Mk;_.A=Nk;_.B=Ok;_.tI=38;_.b=null;_=Pk.prototype=new Gk;_.z=Sk;_.A=Tk;_.B=Vk;_.tI=39;_.b=null;_.c=null;_=Wk.prototype=new Jj;_.u=Zk;_.eQ=_k;_.hC=al;_.p=cl;_.tI=0;_=dl.prototype=new s;_.r=jl;_.s=kl;_.tI=0;_.b=0;_.c=null;_=ll.prototype=new mk;_.v=pl;_.p=ql;_.w=rl;_.tI=40;_.b=null;_.c=null;_=sl.prototype=new s;_.r=vl;_.s=wl;_.tI=0;_.b=null;_=xl.prototype=new Wk;_.u=Gl;_.v=Hl;_.w=Il;_.x=Kl;_.tI=41;_.c=0;_=Ml.prototype=new Pj;_.tI=42;_=Ql.prototype=new mk;_.u=Xl;_.v=Yl;_.p=Zl;_.w=$l;_.tI=43;_.b=null;_=dm.prototype=new Gk;_.z=hm;_.A=im;_.B=km;_.tI=44;_.b=null;_.c=null;_=lm.prototype=new L;_.tI=45;var $entry=xb;var jf=new Ui,kf=new Ui,gf=new Ui,hf=new Ui;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if (simplegadget) simplegadget.onScriptLoad(gwtOnLoad);})();